﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="new.aspx.cs" Inherits="AnyOffice.general.system.chatroom._new" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>新建聊天室</title>
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		
		<script Language="JavaScript">
function CheckForm()
{

   if(document.Form1.txtSessionName.value=="")
   { alert("聊天室名称不能为空！");
     return (false);
   }

   return (true);
}
		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<table border="0" width="90%" cellspacing="0" cellpadding="3" class="small">
				<tr>
					<td class="Big"><img src="/images/notify_new.gif" align="absMiddle"><span class="big3"> 
							新建聊天室</span>
					</td>
				</tr>
			</table>
			<br>
			<table border="0" width="500" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000"
				class="small">
				<tr>
					<td nowrap class="TableData">
						聊天室名称：</td>
					<td class="TableData">
						<input type="text" name="txtSessionName" size="40" maxlength="100" class="BigInput" id="txtSessionName"
							runat="server">
					</td>
				</tr>
				<tr align="center" class="TableControl">
					<td colspan="2" nowrap>
						<input type="submit" value="保存" class="BigButton" onclick="return CheckForm();">&nbsp;&nbsp;
						<input type="button" value="返回" class="BigButton" onClick="location='index.aspx'">
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
